package com.qf.day06.dt;

public class gouzi extends dw{
    private String swim;

    public gouzi() {
    }

    public gouzi(String name, String type, int age) {
        super(name, type, age);
    }

    public gouzi(String swim) {
        this.swim = swim;
    }

    public gouzi(String name, String type, int age, String swim) {
        super(name, type, age);
        this.swim = swim;
    }

    @Override
    public void eat() {
        System.out.println(getName()+"在吃饭，吃的骨头");
    }
    public void dyou(){
        System.out.println("这是gouzi独有方法");
    }
}
